]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
dash: Minor cleanup
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 5 Jun 2013 12:51:41 +0000 (14:51 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 5 Jun 2013 13:32:43 +0000 (15:32 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=684618

js/ui/dash.js

index 79636fc49a8da5e57a79a2daeba1abf5ae09ec6d..a916de1ad97fc491d7b8666846f749491f168274 100644 (file)
@@ -858,9 +858,9 @@ const Dash = new Lang.Class({
 
         // Remove the drag placeholder if we are not in the
         // "favorites zone"
-        if (pos > numFavorites && this._dragPlaceholder) {
+        if (pos > numFavorites)
             this._clearDragPlaceholder();
-        }
+
         if (!this._dragPlaceholder)
             return DND.DragMotionResult.NO_DROP;